package com.wanhugou.payment.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanhugou.payment.dao.SysUserSignatureDao;
import com.wanhugou.payment.domain.SysUserSignature;
import com.wanhugou.payment.service.SysUserSignatureService;

@Service
public class SysUserSignatureServiceImpl implements SysUserSignatureService{

	@Autowired
	private SysUserSignatureDao dao;
	
	@Override
	public int insert(SysUserSignature record) {
		record.setStatus("0");
		return dao.insert(record);
	}

	@Override
	public SysUserSignature selectByID(Integer userId) {
		return dao.selectByID(userId);
	}

	@Override
	public int update(SysUserSignature record) {
		return dao.update(record);
	}

}
